<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%><%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<div style="height: 400px; overflow-y: scroll;">
	<table class="table">
		<thead>
			<tr>
				<th>状态</th>
				<th>时间</th>
				<th>课程</th>
				<th>说明</th>
			</tr>
		</thead>
		<tbody>
			<s:iterator value="#lessons" var="l">
				<tr>
					<td><s:if test="success">
						成功
						</s:if> <s:else>
						失败
						</s:else></td>
					<td>${l.lesson.timespan}</td>
					<td>${l.lesson.name}</td>
					<td>${l.msg}</td>
				</tr>
			</s:iterator>
		</tbody>
	</table>
</div>